﻿using BaseHeightControl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace HeightControlAssistanceProgram
{
    /// <summary>
    /// UserControl_Floor_In_Building.xaml 的交互逻辑
    /// </summary>
    public partial class UserControl_Floor_In_Building : UserControl
    {

        public BaseHeightControl.Floor Floor
        {
            get { return (BaseHeightControl.Floor)GetValue(FloorProperty); }
            set { SetValue(FloorProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Floor.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty FloorProperty =
            DependencyProperty.Register("Floor", typeof(BaseHeightControl.Floor), typeof(UserControl_Floor_In_Building), new PropertyMetadata(null));



        
       

        public Building Building
        {
            get { return (Building)GetValue(BuildingProperty); }
            set { SetValue(BuildingProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Building.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty BuildingProperty =
            DependencyProperty.Register("Building", typeof(Building), typeof(UserControl_Floor_In_Building), new PropertyMetadata(null));





        public UserControl_Floor_In_Building()
        {
            InitializeComponent();
        }

        
    }
}
